@assets: '../assets/';
@deep: ~'>>>';
@btn-color: #3258de;
@btn-hover: #4a6ce2;
@btn-focus: #2d4fc9;


.bg-image(@url) {
  background-image:~"url('@{assets}@{url}@2x.png')";
  // @media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  // 		background-image: ~"url('@{assets}@{url}@3x.png')";
  // }
}

* {
  box-sizing: border-box;
  list-style: none;
  outline: none;
  font-family: "", Arial;
}

html {
  scroll-behavior: smooth; //滚动有过渡效果
}

html,
body {
  height: 100%;
  overflow: hidden;
  // min-height: 100%;
  // background-color: #F6F6F6;
}

.el-table{
  color: #303133;
}
// .tableSlot .el-table .is-right .cell{
//   padding-left:0;
//   padding-right:0;
// }
.click {
  color: #3258DE;
  cursor: pointer;
}
.noclick{
  color: #606266 ;
  cursor: auto;
}
.reportHead th {
  background: #F5F6FB;
  color: #606266;
  font-weight: 500;
  text-align: left;
}

.modal-tit {
  margin: 10px;
  font-size: 18px;

  font-weight: 500;
  color: rgba(51, 51, 51, 1);
  line-height: 1.5;
}

.modal-desc {
  margin: 0 10px;
  height: 17px;
  font-size: 12px;
  margin-bottom: 20px;

  font-weight: 400;
  color: rgba(102, 102, 102, 1);
  line-height: 17px;

  span:not(:first-child) {
    margin-left: 15px;
  }
}

.modal-content {
  margin: 0 10px;
  font-size: 12px;

  font-weight: 400;
  color: rgba(51, 51, 51, 1);
  line-height: 20px;
  text-align: justify;
}

// 表头标题  带蓝色左线
.legend-text {
  display: inline-block;
  color: #333333;
  font-size: 16px;
  padding-left: 12px;
  position: relative;
  height: 24px;
  line-height: 24px;

  &::before {
    content: '';
    position: absolute;
    background: #399eff;
    width: 4px;
    height: 16px;
    top: 4px;
    left: 0;
    border-radius: 2px;
  }
}

/* 输入框边框颜色覆盖 */
.el-input__inner {
  border-radius: 2px;
  border-color: rgba(228, 235, 241, 1);
  color: #303133;
}
.el-input__inner::placeholder {
  color: #909399;
}
/* 覆盖primary按钮主色 */
.el-button--primary {
  border: 1px solid #3258DE;
  background: #3258DE;
  color: #fff;
}

/* 通用盒阴影 */
.base-boxshadow {
  box-shadow: 4px 0px 8px 0px rgba(151, 171, 213, 0.15);
  border-radius: 4px 0px 0px 4px;
  border: 1px solid rgba(228, 235, 241, 1);
}

/* 树形控件文字 高度覆盖 */
.cm-tree {
  .el-tree-node .el-tree-node__content {
    height: 30px;
  }

  .el-tree-node__label {
    font-size: 12px;
  }

  .el-tree .el-tree-node {
    position: relative;
  }
}

.el-tree-node__label {
  font-size: 12px;
}

.float-right {
  float: right;
}

.span-download {
  color: #3258de;
  font-size: 12px;
  cursor: pointer;
}

a.c-link {
  color: #3258de;
  text-decoration: none;
}

/* 图标 */
i {
  display: inline-block;
  background-position: center;
  background-size: contain;

  &.icon-download {
    width: 16px;
    height: 16px;
    vertical-align: top;
    margin-left: 5px;
    // background-image: url(../assets/icon-download@2x.png);
    .bg-image('icon-download');
  }

  &.about {
    background: url("../assets/about.png");
    width: 12px;
    height: 12px;
    background-size: 100% 100%;
  }
}

/* 滚动条 */
.el-scrollbar.c-scroll {
  height: 100%;
}

.el-scrollbar__wrap.cx-scrollbar__wrap {
  overflow-x: auto;
}


/**{*/
/*    box-sizing: border-box;*/
/*}*/

/*显隐*/
.show {
  display: block;
}

.hide {
  display: none;
}

input {
  vertical-align: middle;
  outline: none;
}

/*浮动、位置*/
.fleft {
  float: left;
}

.fright {
  float: right;
}

.tcenter {
  text-align: center;
}

.tleft {
  text-align: left
}

.tright {
  text-align: right;
}

/*clear clearfix清浮动*/
.clear {
  clear: both;
}

.clearfix:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  zoom: 1;
}

/*字体颜色*/
.fc-white {
  color: #ffffff;
}

.fc-gray {
  color: #4A4A4A;
}

.fc-red {
  color: #DE3B24;
}

.fc-yellow {
  color: #F39C12;
}

.fc-purple {
  color: #7B65D5;
}

.fc-green {
  color: #44B825;
}

.fc-blue1 {
  color: #3258DE;
  cursor: pointer
}

.fc-blue2 {
  color: #3258DE;
}

.fc-blue1:hover {
  text-decoration: underline;
}

.paging {
  position: relative;
  top: -33px;
  float: right;
  font-size: 12px;
  color: rgba(68, 68, 68, 1);
  white-space: nowrap;
  line-height: 24px;

  em {
    float: left;
    margin-right: 8px;
  }

  .pageCount {
    position: relative;
    width: 62px;
    text-align: left;
    border-radius: 2px;
    border: 1px solid rgba(228, 235, 241, 1);

    i {
      width: 8.5px;
      height: 8.5px;
      margin: 6px 0 0 7px;
    }

    li {
      text-align: left;
    }

    li:hover {
      background-color: #F3F9FF;
    }

    ul {
      position: absolute;
      bottom: 22px;
      left: -1px;
      padding: 0 7px;
      background: rgb(255, 255, 255);
      width: calc(100% + 2px);
      box-sizing: border-box;
      border-radius: 2px;
      border-top: 1px solid rgb(228, 235, 241);
      border-right: 1px solid rgb(228, 235, 241);
      border-left: 1px solid rgb(228, 235, 241);
      border-bottom: none;
    }
  }

  .preBtn {
    width: 6px;
    height: 22px;
    background: url("../assets/yicun/timeline-left.png") center no-repeat;
    background-size: 4.5px 8px;

    &:hover {
      cursor: pointer;
      background-color: rgba(236, 246, 255, 1);
      border: 1px solid #3258DE;
    }
  }

  .nextBtn {
    width: 6px;
    height: 22px;
    background: url("../assets/yicun/timeline-right.png") center no-repeat;
    background-size: 4.5px 8px;

    &:hover {
      cursor: pointer;
      background-color: rgba(236, 246, 255, 1);
      border: 1px solid #3258DE;
    }
  }

  span {
    float: left;
    padding: 0 8px;
    text-align: center;
    margin-right: 4px;
    line-height: 22px;
    border-radius: 2px;
    border: 1px solid rgba(228, 235, 241, 1);
  }

  input {
    float: left;
    text-align: center;
    width: 37px;
    height: 22px;
    border-radius: 2px 0px 0px 2px;
    border: 1px solid rgba(228, 235, 241, 1);
  }
}

.searchNoDataIcon {
  background: url("../assets/yicun/searchNoData.png") no-repeat;
  background-size: contain;
}

.searchNoData {
  text-align: center;
}

.bondContent .excel {
  display: none;
}

.loading-circular {
  height: 42px;
  width: 42px;
  -webkit-animation: loading-rotate 2s linear infinite;
  animation: loading-rotate 2s linear infinite;

  .inpath {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    stroke-width: 2;
    stroke: #3066FF;
    stroke-linecap: round
  }

  .outpath {
    stroke-dasharray: 150, 90;
    stroke-dashoffset: 0;
    stroke-width: 2;
    stroke: #E6E3E6;
    stroke-linecap: round
  }
}

.dropListPopper {
  .el-select-dropdown__item {
    color: #606266;
    cursor: auto;
    font-weight: normal;
  }
}
.el-select-dropdown{
  margin-top:4px !important;
}
.dropList .el-input__inner {
  padding-left: 0px
}

.el-icon-header-logout {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  .bg-image('header/logout');
}

.el-icon-header-pwd {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  .bg-image('header/pwd');
}

.el-icon-header-system {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  .bg-image('header/system');
}


.el-date-table td.end-date span,
.el-date-table td.start-date span {
  border-radius: 2px;
  background-color: @mainColor;
}
.el-date-table td.today span{
  color: @mainColor;
}
.el-tooltip__popper {
  max-width: 30vw;
}

.el-table--mini td,
.el-table--mini th {
  padding: 4px 0;
}
.el-table--mini td{
  // height:26px;
  padding:2px 0;
}
// .el-table--mini td .cell{
//   height:22px;
// }
.el-table--mini th {
  font-weight: bold;
  // font-family: '黑体';
}

.el-range-editor.is-disabled input {
  // color: #ddd;
  color:#909399;
}
.el-range-editor.is-disabled{
  background-color: #F5F6FD;
}
.el-range-editor.el-input__inner{
  padding:3px 8px;
}
.el-table .caret-wrapper {
  height: 22px;
}

.el-table .sort-caret.ascending {
  top: -1px;
}

.el-table .sort-caret.ascending{
  border-bottom-color:#ABBAD7;
}
.el-table .sort-caret.descending{
  border-top-color:#ABBAD7;
}
.el-table .ascending .sort-caret.ascending{
  border-bottom-color:#3258de;
}
.el-table .descending .sort-caret.descending{
  border-top-color:#3258de;
}

.el-table .sort-caret.descending {
  bottom: 1px;
}

.el-input-group__append {
  background: transparent;
  border-color: #e4ebf1;
  box-sizing: border-box;
}

.el-cascader__tags .el-tag>span {
  color: #333333;
}

.rate-star-icon {
  .bg-image('bond/star');
  background-size: 12px 12px;
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: bottom;
}

.rate-star-icon-active {
  .bg-image('bond/star_active');
  background-size: 12px 12px;
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: bottom;
}

.el-date-editor--daterange.el-input,
.el-date-editor--daterange.el-input__inner,
.el-date-editor--timerange.el-input,
.el-date-editor--timerange.el-input__inner {
  width: 250px;
  line-height: 24px;
  height: 24px;
}

.el-range-editor--mini .el-range__close-icon,
.el-range-editor--mini .el-range__icon {
  font-size: 12px;
  margin-top: -4px;
}

.el-input--mini .el-input__inner {
  line-height: 24px;
  height: 24px;
}
.el-input--mini .el-input__icon {
  line-height: 24px;
  height: 24px;
}

// .el-button {
//   color: #3258DE;
// }
// .el-button:hover {
//   color: #4a6ce2;
// }
// .el-button:focus {
//   background: #2d4fc9;
// }

.el-button--default {
  border: 1px solid #3258DE;
  background: #fff;
  color: #3258DE;
}

.el-button--default:hover {
  border: 1px solid #4a6ce2;
  background: #4A6CE21a;
  color: #4a6ce2;
}
.el-button--default:focus {
  border: 1px solid #2d4fc9;
  background: #2d4fc91a;
  color: #2d4fc9;
}
.el-button--primary:hover {
  border: 1px solid #4a6ce2;
  background: #4a6ce2;
  color: #fff;
}
.el-button--primary:focus {
  border: 1px solid #2d4fc9;
  background: #2d4fc9;
  color: #fff;
}
.el-button--text {
  color: #3258DE;
}
.el-button--text:hover {
  color: #4a6ce2;
}
.el-button--text:focus {
  color: #2d4fc9;
}

.navTitle {
  display: inline-block;
  color: #303133;
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  height: 40px;
  line-height: 40px;
  margin: 0;
  .el-breadcrumb{
    line-height: 40px;
  }
  .el-breadcrumb__item:last-child {
    @{deep} .el-breadcrumb__inner {
      color: #303133;
    }
  }
}
.el-breadcrumb__inner a, .el-breadcrumb__inner.is-link{
  color: #909399;
  font-weight: normal;
}
.preNavTitle {
  color: #909399;
  @{deep} .el-breadcrumb__inner {
    color: #909399;
  }
}
.el-pagination__editor.el-input .el-input__inner{
  height: 28px;
  border-radius: 2px;
}
.el-dialog__header {
  padding: 10px 20px 10px 20px;
  border-bottom: 1px solid #DDDDDD;
  font-size: 16px;
  .el-dialog__title{
    font-size: 16px;
    color:#303133;
    font-weight: bold;
  }
}
// .dialog-footer{
//   margin-top:8px;
// }
.el-dialog__headerbtn{
  top: 15px;
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
  background-color: #3258DE;
  border-color: #3258DE;
}
.el-checkbox__input.is-checked+.el-checkbox__label{
  color: #3258DE;
}
.el-radio__input.is-checked .el-radio__inner{
  background-color: #3258DE;
  border-color: #3258DE;
}
.el-radio__input.is-checked+.el-radio__label{
  color: #3258DE;

}
.wrap-flex .header {
  padding: 12px 20px;
  border-bottom: 1px solid #eaeefb;
  // padding: 10px 10px 0 10px;
  background: #fff;
  .navTitle {
    padding-left: 0;
    font-size: 16px;
    line-height: 20px;
    height: 20px;
    .el-breadcrumb{
      line-height: 20px;
    }
  }
}
// .el-table .el-table__body tr.el-table__row {
//   &:hover{
//     background: #EAEEFB!important;
//   }
// }

// .el-table--enable-row-hover .el-table__body tr:hover>td{
//   background-color: #EAEEFB ;
// }
.el-select-dropdown__item.selected{
  color: #3258de;
}

.el-table--enable-row-hover .el-table__body tr:hover>td .click{
  color: #4a6ce2 !important;
  &.noclick{
    
    color: #606266 !important;
  }
}

.el-pagination .el-select .el-input .el-input__inner{
  line-height: 28px;
  height: 28px;
  vertical-align: bottom;
  border-radius: 2px;
}
.el-select .el-input.is-focus .el-input__inner{
  border-color: #4A6CE2;
}

.el-select .el-input:hover .el-input__inner{
  border-color: #d6def8;
}
.el-dialog__body{
  padding: 10px 20px;
}
.el-select-dropdown__item.hover, .el-select-dropdown__item:hover{
  background: #fff;
}
.el-select .el-input.el-input--suffix .el-input__inner{
  border-radius:2px;
}
.el-button--mini, .el-button--mini.is-round{
  padding: 7px 8px;
}
.el-button--mini, .el-button--small{
  border-radius: 2px;
}
.el-pagination .el-input__suffix{
  height: 28px;
  line-height: 28px;
  display: inline-block;
}
.el-pagination .el-select .el-input{
  height: 28px;
  line-height: 28px;
}
// input:hover{
//   border-color: #d6def8!important;
// }

// input:focus{
//   border-color: #3258de!important;
// }

.el-tabs__nav-next, .el-tabs__nav-prev{
  line-height: 40px;
}

.el-breadcrumb__inner.is-link:hover {
  color: @btn-hover!important;
}

.el-date-editor--daterange.el-input, .el-date-editor--daterange.el-input__inner, .el-date-editor--timerange.el-input, .el-date-editor--timerange.el-input__inner{
  &:hover {
    border-color: #d6def8;
  }
  &.is-active {
    border-color: #3258DE;
  }
}
.el-button.is-disabled, .el-button.is-disabled:focus, .el-button.is-disabled:hover{
  color: #909399;
}
.el-checkbox__inner{
  
  &:hover {
    border-color: @btn-hover;
  }
  &:focus {
    border-color:@btn-focus;
  }
}
.el-dropdown-menu__item{
  &:hover {
    background: #F5F6FB!important;
  }
  &:focus {
    color:@btn-focus;
  }
}
.el-select .el-input .el-select__caret{
  vertical-align: middle;
}
.el-range-editor--mini .el-range-input::placeholder{
  color: #909399;
}
.el-dialog__headerbtn .el-dialog__close{
  font-size: 18px;
  &:hover{
    color:#3258de;
  } 
}

.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
  background-color: transparent;
}
.el-tree-node__content{
  height: 30px;
}
.el-textarea__inner{
  color:#303133;
  &:hover {
    border-color: @btn-hover;
  }
  &:focus {
    border-color:@btn-focus;
  }
}
.el-picker-panel__icon-btn{
  &.el-icon-arrow-left{
    margin-left: 16px;
  }
  &.el-icon-arrow-right{
    margin-right: 16px;
  }
}

.el-table__empty-block{
  width: 100%!important;
}
.el-loading-mask{
  display: flex;
  align-items: center;
  justify-content: center;
  .el-loading-spinner{
    margin-top: 0;
    text-align: center;
    position: unset;
    top: auto;
    width: auto;
    display:flex;
    flex-flow: column;
    align-items: center;
    &:before{
      content: ' ';
      display:flex;
      background-image:url("../assets/loading.gif");
      background-size:cover;
      width:42px;
      height:42px;
    }
    .circular{
      display:none;
    }
    .el-icon-loading{
      display:none;
    }
    .el-loading-text{
      display:none;
    }
  }
}
//弹框样式覆盖
.el-message-box{
  .el-message-box__header{
    height:40px;
    line-height:40px;
    padding:0 20px;
    .el-message-box__title{
      display:flex;
      align-items: center;
      height:100%;
      font-size:16px;
      color:#303133;
      font-weight: 500;
    }
    .el-message-box__headerbtn{
      top:12px;
      .el-message-box__close{
        color: #303133;
      }
    }
  }
  .el-message-box__status.el-icon-warning{
    color:#FAAD14 !important;
  }
  .el-message-box__content{
    display:flex;
    align-items: center;
    justify-content: center;
    min-height:130px;
    padding:20px;
    border:1px solid #EAEEFB;
  }
  .el-message-box__btns{
    padding:10px 20px 0;
    .el-button.el-button--small{
      padding:5px 14px;
      span{
        height:18px;
        line-height:18px;
      }
    }
    .el-message-box__btns button:nth-child(2){
      margin-left:8px;
    }
  }
}

.v-modal{
  opacity: .5;
}


.detail-container-box {
  max-width: 1200px;
  margin: 0 auto!important;
}

.hevue-wrap {
  .he-img-wrap {
    img {
      display: unset;
      margin:0
    }
    .he-close-icon{
      font-size: 25px;
    }
  }
}